package com.shiro.test.mvc.service;

import com.shiro.test.mvc.pojo.User;

import java.util.List;

public interface IUserService extends IBaseService<User>{

    User doLogin(String email,String password);

    User getUserByEmail(String email);

    List<User> getUserList();

    void addUserRole(int userId,int[] roleIds);

    List<Integer> getUserRoles(int userId);
}